package cn.wolfcode.shop.api.util;

import lombok.Getter;
import lombok.Setter;

/**
 * Created by 季节 on 2018/1/7
 */
@Setter
@Getter
public class JsonResult {
    private boolean success =true;
    private String msg;

    public JsonResult(boolean success, String msg) {
        this.success = success;
        this.msg = msg;
    }

    public JsonResult(String msg) {
        this.msg = msg;
    }

}
